#ifndef __VARIABLES_H__
#define __VARIABLES_H__

#include <stdio.h>
#include <stdlib.h>
#include <fftw3.h>

static double * pol1 = NULL;
static double * pol2 = NULL;
static double * opol1 = NULL;
static double * opol2 = NULL;
static double * coeffs = NULL;
static double * ocoeffs = NULL;
static long psize = 0;

/* store the first nfft/2 of data */
static double * half_data1 = NULL;
static double * half_data2 = NULL;

static fftw_complex * subband1 = NULL;
static fftw_complex * subband2 = NULL;

static double * profile_out = NULL;

static double * pdata = NULL;
static double * pnum  = NULL;
static long * location = NULL;

#endif